package com.gugee.ins.web.model.mysql;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

/**
 * @author yzz
 * @Date 2021-01-07 10:55:39
 */
@Data
@Table(value="ins_dic_language")
public class InsDicLanguage implements Serializable{

    /**
     *主键
     */
    @Id
    @Column(value="id")
    private Integer id;

    /**
     *语言编码
     */
    @Column(value="code")
    private String code;

    /**
     *语言名称
     */
    @Column(value="name")
    private String name;

    /**
     *语言名称(中文)
     */
    @Column(value="name_cn")
    private String nameCn;

    /**
     *类型(1:头部语言)
     */
    @Column(value="type")
    private Byte type;

    /**
     *排序
     */
    @Column(value="sort")
    private Integer sort;

    /**
     *创建时间
     */
    @Column(value="create_time")
    private Long createTime;

}